package com.crm.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

public class BizActivity extends BaseModel{
    private String activityId;

    private String title;

    private Integer type;

    private String project;

    private Float discount;

    private Float limit1;

    private Float limit2;

    private Integer isMulti;

    private Integer useStatus;
    
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date beginTime;
    
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date endTime;

    private Date useTime;

    private String description;
    
    private BizProject bizProject;

    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }


    public String getProject() {
		return project;
	}

	public void setProject(String project) {
		this.project = project;
	}

	public Float getDiscount() {
        return discount;
    }

    public void setDiscount(Float discount) {
        this.discount = discount;
    }

    public Float getLimit1() {
        return limit1;
    }

    public void setLimit1(Float limit1) {
        this.limit1 = limit1;
    }

    public Float getLimit2() {
        return limit2;
    }

    public void setLimit2(Float limit2) {
        this.limit2 = limit2;
    }

    public Integer getIsMulti() {
        return isMulti;
    }

    public void setIsMulti(Integer isMulti) {
        this.isMulti = isMulti;
    }

    public Integer getUseStatus() {
        return useStatus;
    }

    public void setUseStatus(Integer useStatus) {
        this.useStatus = useStatus;
    }
    
    @JsonFormat(pattern="yyyy-MM-dd",timezone="Asia/Shanghai")
    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }
    
    @JsonFormat(pattern="yyyy-MM-dd",timezone="Asia/Shanghai")
    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
    
    @JsonFormat(pattern="yyyy-MM-dd",timezone="Asia/Shanghai")
    public Date getUseTime() {
        return useTime;
    }

    public void setUseTime(Date useTime) {
        this.useTime = useTime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

	public BizProject getBizProject() {
		return bizProject;
	}

	public void setBizProject(BizProject bizProject) {
		this.bizProject = bizProject;
	}
    
}